file (GLOB_RECURSE SERVER_SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
include_directories(.)

add_executable(test_config_server ${SERVER_SRC_FILES} ${CMAKE_SOURCE_DIR}/src/config/config_server/config_dao.cpp)
include_directories(${CMAKE_SOURCE_DIR}/src/tool)
target_link_libraries(test_config_server PRIVATE xplatform protobuf protoc lxmysql)
target_link_libraries(test_config_server PRIVATE tool)
if(WIN32)
  target_link_libraries(test_config_server PRIVATE ws2_32)
endif()
set_out_path(test_config_server)
set_runtime_name(test_config_server)